export const defaultRoute = 'home';

export const menuConfigList = [
  {
    name: '工作台', icon: 'ios-apps', router: 'home', menuList: [
      // { name: 'menu.workbench', icon: 'ios-apps', id: '1', router: '/workspace', childRoutes: ['/workflow', '/app'] },
      { name: 'menu.workbench',  icon: 'ios-apps', id: '105', router: '/statistics'},
      // { name: 'menu.chat',  icon: 'md-text', id: '100', router: '/chat'},
      // { name: 'menu.workFlow',  id: '2', router: '/workflow', hide: true,  },
      // { name: 'menu.knowledgeBase', icon: 'logo-buffer', id: '3', router: '/knowledgeBase' },
      // { name: 'menu.modelMent', icon: 'ios-cube', id: '5', router: '/modelMent' },
      // { name: 'menu.app',  id: '4', router: '/app', hide: true},
      // {
      //   name: 'menu.mcp',
      //   icon: 'md-key',
      //   id: '7',
      //   router: '/mcp',
      // },
      // {
      //   name: 'menu.plugin',
      //   icon: 'ios-briefcase',
      //   id: '9',
      //   router: '/plugin',
      // },
      {
        name: 'menu.intelligentAssistance',
        icon: 'ios-ionitron',
        id: '10',
        router: '/intelligentAssistance',
      },
      {
        name: 'menu.seatingAssistance',
        icon: 'ios-cog',
        id: '11',
        router: '/seatingAssistance',
      },
      // {
      //   id: '11',
      //   name: '系统',
      //   icon: 'ios-construct',
      //   router: 'system',
      //   children: [
      //     { name: 'menu.userManagement', router: '/userlist' },
      //     { name: 'menu.departmentManagement', router: '/department' },
      //     { name: 'menu.roleManagement', router: '/role' },
      //     { name: 'menu.dictionary', router: '/dictionary' },
      //     { name: 'menu.metadata', router: '/metadata' },
      //     { name: 'menu.dataSource', router: '/datasource' },
      //     { name: 'menu.modelManage', router: '/modelmanage' },
      //     // { name: 'menu.agentManage', router: '/agentmanage' },
      //   ],
      // },
    ]
  },
  {
    name: '系统',
    icon: 'ios-construct',
    router: 'system',
    menuList: [
      // { name: 'menu.system', icon: 'ios-construct', router: '/system', id: '10'  },
      { name: 'menu.workbench', icon: 'ios-apps', id: '1', router: '/workspace', childRoutes: ['/workflow', '/app'] },
      {
        name: 'menu.organizational',
        icon: 'md-contacts',
        id: '35',
        children: [
          { name: 'menu.userManagement', router: '/userlist' },
          { name: 'menu.departmentManagement', router: '/department' },
          { name: 'menu.roleManagement', router: '/role' },
        ],
      },
      {
        name: 'menu.modelSetting',
        icon: 'md-cube',
        id: '55',
        children: [
          { name: 'menu.dictionary', router: '/dictionary' },
          { name: 'menu.metadata', router: '/metadata' },
          { name: 'menu.dataSource', router: '/datasource' },
          { name: 'menu.modelManage', router: '/modelmanage' },
          { name: 'menu.agentManage', router: '/agentmanage' },
        ],
      },
      // { name: 'menu.statistics',  icon: 'ios-home', id: '105', router: '/statistics'},
      { name: 'menu.chat',  icon: 'md-text', id: '100', router: '/chat'},
      { name: 'menu.workFlow',  id: '2', router: '/workflow', hide: true,  },
      { name: 'menu.knowledgeBase', icon: 'logo-buffer', id: '3', router: '/knowledgeBase' },
      { name: 'menu.modelMent', icon: 'ios-cube', id: '5', router: '/modelMent' },
      { name: 'menu.app',  id: '4', router: '/app', hide: true},
      {
        name: 'menu.mcp',
        icon: 'md-key',
        id: '7',
        router: '/mcp',
      },
      {
        name: 'menu.plugin',
        icon: 'ios-briefcase',
        id: '9',
        router: '/plugin',
      },
      // {
      //   name: 'menu.multilevel', icon: 'md-barcode', id: '4', children: [
      //     { name: 'menu.twoLevelMenu', router: '' },
      //     {
      //       name: 'menu.treeLevelMenu', router: '', children: [
      //         { name: 'menu.treeLevelMenu', router: '' },
      //       ]
      //     },
      //   ]
      // },
      // {
      //   name: 'menu.dynamicForm', icon: 'ios-list-box-outline', id: '11', children: [
      //     { name: 'menu.dynamicForm', router: '/dynamicform' }
      //   ]
      // }
    ],
  },
];
